#include <iostream>
#include <unistd.h>

#include <ThreadPool.h>
// #include <ThreadTest.h>

void print(int x, double y, char z) {
    std::cout<<x<<"==="<<y<<"==="<<z<<"==="<<std::endl;
}

int main(int argc, char const *argv[])
{
    ThreadPool *pool = new ThreadPool();
    for (int i = 0; i < 1000; ++i) {
        pool->addTask(std::bind(print, 1, 3.14, 'w'));
    }
    delete pool;
    return 0;
}
